<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
function searchAddress(){
	
		window.open("address_popup.jsp","주소검색","width=300,height=300 ,top=100,left=900");
		var e1 = document.getElementById("e1");
		e1.disabled=true;
		var e2 = document.getElementById("e2");
		e2.disabled=true;
		var e3 = document.getElementById("e3");
		e3.disabled=true;
		var e4 = document.getElementById("e4");
		e4.disabled=true;
		var e5 = document.getElementById("e5");
		e5.disabled=true;
		var e6 = document.getElementById("e6");
		e6.disabled=true;
		
}

</script>
</head>
<body>
<form action="" name="form1">
상세검색 : <input type="button" value="주소검색" onclick="searchAddress()" id="e1"><br>
우편번호 : <input type="text" name="zipcode" id="e2"><br>
시도 : <input type="text" name="sido" id="e3"><br>
군 : <input type="text" name="gugun" id="e4"><br>
동 : <input type="text" name="dong" id="e5"><br>
번지 : <input type="text" name="bunji" id="e6"><br>
seq hidden으로 받는다. <input type="text" name="seq" id="e7"><br>
주소상세 : <input type="text" name="address"><br>
<input type="submit" value="전송">
</form>
</body>
</html>
